package com.second.teacher.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.second.common.pojo.Teacher;
import com.second.teacher.vo.TeacherVo;

/**
 * @program: second-education-parent
 * @description:
 * @author: 王子朋
 * @create: 2023-05-26 18:52
 **/

public interface TeacherService {
    Page<Teacher> findByConditionPage(Integer current, Integer pageSize, TeacherVo teacherVo);
    int updateStatus( String id, String Status);

    /**
     * 根据id查询EduTeacher
     * @param id
     * @return EduTeacher
     */
    Teacher findOneById(String id);

    void update(Teacher teacher);
    void updateById(Teacher teacher);

    /**
     * 分页查询讲师审核表
     */
    Page<Teacher> findCheckTeacher(Integer current, Integer pageSize, TeacherVo teacherVo);
    /**
     * 修改审核信息
     */
    int updateshenhe(Teacher teacher);
}
